
import time
import os

fixedImageName = 'C:/Users/bryan/bryan-code/2D3D/vert1/fluoro/ushortim080-LAT.mhd'
volImageName = 'C:/Users/bryan/bryan-code/2D3D/vert1/CT/ucharCTv1r1.mha'

outFileName = 'C:/Users/bryan/bryan-code/trunk/Images/RegOut.png'

imageRegProg = 'C:/Lib/ITK/Apps/InsightApplications-3.6.0b/IntensityBased2D3DRegistration/release/IntensityBased2D3DRegistration.exe'

options = '-v -dbg -fl1000 -t-745.64 -18.8939 -295.755 -cor 0 0 0 -threshold72'

#cmd = ' '.join((imageRegProg,options,fixedImageName,volImageName))
cmd = ' '.join((imageRegProg))

os.system(imageRegProg)